package org.example.bighomework.Course;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
//持久层，使用JPA
@Repository
public interface CourseRepository extends JpaRepository<Course, String> {
    List<Course> findAllByName(String name);
}
